﻿using SqlSugar;
using Scm.Orm.Helper;

namespace Scm.Orm.Gen
{
    public class Generator
    {
        public static Boolean gen(SqlSugarScope db)
        {
            db.DbFirst.Where(it=> it.ToLower().Equals("sys_config")).CreateClassFile("D:\\C#WorkSpaces\\WebApplication1\\WebApplicationORM\\Entities", "Entities");
            db.DbFirst.FormatFileName(x => x.ToLower()).CreateClassFile("c\\");
            return true;
        }

    }
}
